package com.sm.entity;

import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class AttendanceTotal extends BaseEntity {
    private Integer atid;
    private UserInfo userInfo;
    private Integer worktime;
    private Integer overtimea;
    private Integer overtimeb;
    private Integer overtimec;
    private Integer month;
    private List<Attendance> attendances;

    public Integer getAtid() {
        return atid;
    }

    public void setAtid(Integer atid) {
        this.atid = atid;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Integer getWorktime() {
        return worktime;
    }

    public void setWorktime(Integer worktime) {
        this.worktime = worktime;
    }

    public Integer getOvertimea() {
        return overtimea;
    }

    public void setOvertimea(Integer overtimea) {
        this.overtimea = overtimea;
    }

    public Integer getOvertimeb() {
        return overtimeb;
    }

    public void setOvertimeb(Integer overtimeb) {
        this.overtimeb = overtimeb;
    }

    public Integer getOvertimec() {
        return overtimec;
    }

    public void setOvertimec(Integer overtimec) {
        this.overtimec = overtimec;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public List<Attendance> getAttendances() {
        return attendances;
    }

    public void setAttendances(List<Attendance> attendances) {
        this.attendances = attendances;
    }

    @Override
    public String toString() {
        return "AttendanceTotal{" +
                "atid=" + atid +
                ", userInfo=" + userInfo +
                ", worktime=" + worktime +
                ", overtimea=" + overtimea +
                ", overtimeb=" + overtimeb +
                ", overtimec=" + overtimec +
                ", month=" + month +
                '}';
    }
}
